package com.example.demo.dao;

import com.example.demo.entity.Departments;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DepartmentsDao extends JpaRepository<Departments,Integer> {
    List<Departments> findAll();
}
